const fs = require('fs');

let readFile = (path)=>{
    let data = fs.readFileSync(path);
    data = data.toString();
    return JSON.parse(data);
}
module.exports = readFile;